import Vuex from 'vuex'
import Vue from 'vue'

import getters from './getters'

import common from './modules/common'
import register from './modules/register'
import user from './modules/user'
import site from './modules/site'
import punchcard from './modules/punchcard'
import employee from './modules/employee'
import FurtherInformation from './modules/FurtherInformation'
import settings from "./modules/settings"
import company from "./modules/company";

Vue.use(Vuex)

const store = new Vuex.Store({
  modules: {
    common,
    register,
    user,
    site,
    punchcard,
    employee,
    FurtherInformation,
    settings,
    company
  },
  getters
})

export default store
